package com.fortune.dto.in.dStoreIn;

import com.fortune.constants.enums.MStore;
import com.fortune.dto.in.mStoreInit.MStoreInitProduceDto;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2018/5/26 0026.
 */
public class DstoreInitAddDto {

    @NotBlank(message="初始化单编号不能为空")
    @ApiModelProperty(example="初始化单编号")
    private String num;
    @NotBlank(message="初始化仓库ID不能为空")
    @ApiModelProperty(example="初始化仓库ID")
    private String storeId;
    @NotNull(message="开单日期不能为空")
    @ApiModelProperty(example="开单日期(2016-07-06T10:17:48)")
    private Date createTime;
    @ApiModelProperty(value="商品信息")
    private List<DStoreInitProduceDto> produce;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<DStoreInitProduceDto> getProduce() {
        return produce;
    }

    public void setProduce(List<DStoreInitProduceDto> produce) {
        this.produce = produce;
    }
}
